/*
 * IKernelDeliver.java
 *
 * OpenCOMJ is a flexible component model for reconfigurable reflection developed at Lancaster University.
 * Copyright (C) 2005 Paul Grace
 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 
 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty 
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License along with this program; if not, 
 * write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

package OpenCOM;
import OpenCOM.IUnknown;
import java.util.*;

/**
 * The IKernelDeliver interface is used to deliver overlay network events from component to component.
 * Hence, it acts as an event interface. A component implementing an IDeliver receptacle will produce events
 * of message format: Common.Packet. To receive these events, a component implements this interface. The Deliver
 * operation is called to produce an event operation.
 * 
 * @author  Paul Grace
 * @version 1.3.5
 * @see OpenCOM.IUnknown
 */

public interface IKernelDeliver extends IUnknown {
    
    /**
     * Deliver upcalls opencom events to higher levels. It is a void operation to allow
     * upcalls to be executed in parallel. Essentially it provides extensibility to allow
     * you to define more specific higher-level reification and reflection mechanisms. E.g.
     * Remote collection of events, new architecture operations, and others...
     * @param EventType The type of the event e.g. Component Creation
     * @param Event The event information.
     */
    public void KernelEventDeliver(int EventType, Object Event);
}
